package com.idmd.service;

import com.idmd.dao.UserDao;

public class UserService {
   private UserDao userDao;
    private String name;
    private Integer id;
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void getInfo() {
        System.out.println(id);
        System.out.println(name);
    }
}


